/**
 * Created with hong.rong
 * Date:2020/07/06
 */

import request from '@/utils/request'

/**
 * 获取上传接口权限
 * @param data
 * @returns {Promise<*>}
 */
export async function getUploadConfig(data = {}) {
  return request.post('/admin/oss/upload', data)
}
